<template>
  <div>
    <div class="title">
      <slot name="title" v-bind="valueObj">大标题</slot>
    </div>
    <div class="content">
      <ul>
        <li v-if="!list.length">LOADING...</li>
        <li v-for="item in list" :key="item.date">
          <slot name="content" v-bind="item"></slot>
        </li>
      </ul>
    </div>
  </div>
</template>
<script>
export default {
  name: "",
  data() {
    return {
      valueObj: { a: 1, b: 2 },
    };
  },
  props: ["list"],
  created() {},
  components: {},
  computed: {},
  methods: {},
};
</script>
<style scoped>
.bigSize {
  font-size: 25px;
  font-weight: bold;
  text-align: center;
}
</style>